package com.cxg.allsys.adminsys.pojo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

@Data
public class Member {
    private Integer memid;
    private String headImg;//会员头像
    private  String memName;//姓名
    private String sex;
    private String phone;
    private  String password;
    private  String email;
    private String status;
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
//    @DateTimeFormat(pattern = "YYYY-MM-DD HH:mm:ss")
    private Date createDate;
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
//    @DateTimeFormat(pattern = "YYYY-MM-DD HH:mm:ss")
    private Date lastTime;
    private String company;
    private String specialty;
    private String numberCard;
    private Integer auditBy;
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
//    @DateTimeFormat(pattern = "YYYY-MM-DD HH:mm:ss")
    private Date auditDate;
}
